package Cpackage;

class BeijingPeople extends ChinaPeople
{
    public void speakHello()
    {
        System.out.println("您好");
    }

    public void averageHeight()
    {
        height = 172.5;
        System.out.println("北京人的平均身高：" + height + " 厘米");
    }

    public void averageWeight()
    {
        weight = 75;
        System.out.println("北京人的平均体重：" + weight + " 公斤");
    }

    public void beijingOpera()
    {
        System.out.println("京剧角色：生、旦、净、丑。");
    }
}
